details + div div{
    max-height: 0;
    transition: all .5s ease;
    overflow: hidden;
}

[open] + div div{
    max-height: 100px;
}